package com.hnx.admin.system.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

public enum AdminEnum {
    NO(0,"否"),
    YES(1,"是");
    @Getter
    @EnumValue
    private Integer code;
    @Getter
    @JsonValue
    private String admin;
    AdminEnum(Integer code, String admin){
        this.code = code;
        this.admin = admin;
    }
}
